package wsn.node;

import wsn.applications.data_app.*;

module Sensor extends NodeBase
{
    parameters:
        @display("i=device/accesspoint");
        numRadios = default(1);
        
    submodules:
        application: DataSensor {
         	@display("p=216,150");   
        }
        
    connections allowunconnected:
        networkLayer.dataAppOut --> application.dataIn;
        networkLayer.dataAppIn <-- application.dataOut;
      
}